package com.rs.service;

import com.rs.pojo.Books;
import java.util.List;

public interface BookService {
    //增加一本书
    int addBooks(Books books);
    //删除一本书
    int deleteBooks(int id);
    //修改一本书
    int updateBooks(Books books);
    //查询一本书
    Books queryById(int id);
    //查询所有书
    List<Books> queryAll();

    List<Books> queryBooksByName(String bookName);
}
